package zhai.gof.factory;

public class Client {

    //抽象工厂
    public static void main(String[] args) {
        new XmFactory().createPhone().call();
        new XmFactory().createRout().connect();
        new HwFactory().createPhone().call();
        new HwFactory().createRout().connect();

    }
}
